<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Enumerated Types</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__sar2__enums.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">Enumerated Types<div class="ingroups"><a class="el" href="group__group__sar2.html">SAR2         (Analog to Digital Converter (ADC))</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gaea937df154cbde01e73658b1a7828591"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#gaea937df154cbde01e73658b1a7828591">cy_en_sar2_status_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaea937df154cbde01e73658b1a7828591a68296d9f68ef6368b975c3f1505eae9c">CY_SAR2_SUCCESS</a> = 0x00U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaea937df154cbde01e73658b1a7828591a3ba83e7ed872e9909204327fc8e53f33">CY_SAR2_BAD_PARAM</a> = CY_SAR2_ID | CY_PDL_STATUS_ERROR | 0x01U
<br />
 }<tr class="memdesc:gaea937df154cbde01e73658b1a7828591"><td class="mdescLeft">&#160;</td><td class="mdescRight">SAR2 Driver error codes.  <a href="group__group__sar2__enums.html#gaea937df154cbde01e73658b1a7828591">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:gaea937df154cbde01e73658b1a7828591"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56d872802c3c10aac99fb5f19856b8b2"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#ga56d872802c3c10aac99fb5f19856b8b2">cy_en_sar2_msb_stretch_mode_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga56d872802c3c10aac99fb5f19856b8b2abc29a0eadcb1f3ccdffa6c6994539510">CY_SAR2_MSB_STRETCH_MODE_1CYCLE</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga56d872802c3c10aac99fb5f19856b8b2a168a5f3ddf1973783a223d868e822d27">CY_SAR2_MSB_STRETCH_MODE_2CYCLE</a> = 1U
<br />
 }<tr class="memdesc:ga56d872802c3c10aac99fb5f19856b8b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">When set uses 2 cycles for the Most Significant Bit (MSB).  <a href="group__group__sar2__enums.html#ga56d872802c3c10aac99fb5f19856b8b2">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga56d872802c3c10aac99fb5f19856b8b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6affc98cca1b6a89e571f7030ce0c010"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#ga6affc98cca1b6a89e571f7030ce0c010">cy_en_sar2_diag_reference_select_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a00f043c0e65f1a93580d7df5e0032b03">CY_SAR2_DIAG_REFERENCE_SELECT_VREFL</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a0a9a893fd9e38321f58486ec1123ca0f">CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_1DIV8</a> = 1U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a438625429dd00e0c5cda640ea0e5c991">CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_2DIV8</a> = 2U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a17f12c833868d4435540c2980bd5e222">CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_3DIV8</a> = 3U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a73e20f3afcd32636f6a263fa65a35071">CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_4DIV8</a> = 4U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a2e64f56dbdb263639011c48b6e375f71">CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_5DIV8</a> = 5U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a203f7bcb79ddc19c5fffc3574d933877">CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_6DIV8</a> = 6U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a1d1007cc240092fb62d27077e16cb302">CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_7DIV8</a> = 7U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a2f4c486fccfbc8f4bcb9ff1a38549ace">CY_SAR2_DIAG_REFERENCE_SELECT_VREFH</a> = 8U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a94b058cf2d37648771be8796f6976de3">CY_SAR2_DIAG_REFERENCE_SELECT_VREFX</a> = 9U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a0213d5208128a4e7719cf044b2603135">CY_SAR2_DIAG_REFERENCE_SELECT_VBG</a> = 10U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a4fe92629aa83bcda8761eba133178664">CY_SAR2_DIAG_REFERENCE_SELECT_VIN1</a> = 11U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a33a6e5c8bb89f3d89385e75a7306bd2d">CY_SAR2_DIAG_REFERENCE_SELECT_VIN2</a> = 12U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a4f87c2d1d0001555d6c05c93d1af74f5">CY_SAR2_DIAG_REFERENCE_SELECT_VIN3</a> = 13U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010a4a48868030ede0024389ff5d64d3a633">CY_SAR2_DIAG_REFERENCE_SELECT_I_SOURCE</a> = 14U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6affc98cca1b6a89e571f7030ce0c010aa6e9a8cb47f7fc8bfe45c52b7252ecab">CY_SAR2_DIAG_REFERENCE_SELECT_I_SINK</a> = 15U
<br />
 }<tr class="memdesc:ga6affc98cca1b6a89e571f7030ce0c010"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Diagnostic Reference function selection.  <a href="group__group__sar2__enums.html#ga6affc98cca1b6a89e571f7030ce0c010">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga6affc98cca1b6a89e571f7030ce0c010"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba3cfba41b39cb3b447d613b48229198"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#gaba3cfba41b39cb3b447d613b48229198">cy_en_sar2_trigger_selection_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaba3cfba41b39cb3b447d613b48229198ab102cc947b2422987beff93cd93b6e1a">CY_SAR2_TRIGGER_OFF</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaba3cfba41b39cb3b447d613b48229198a6b452c004e456bf97bcbd1d0baafc634">CY_SAR2_TRIGGER_TCPWM</a> = 1U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaba3cfba41b39cb3b447d613b48229198a2d6ce533cb59961338eb62c69af74cb7">CY_SAR2_TRIGGER_GENERIC0</a> = 2U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaba3cfba41b39cb3b447d613b48229198a4e4df31954f36c98264b89db5115b9b8">CY_SAR2_TRIGGER_GENERIC1</a> = 3U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaba3cfba41b39cb3b447d613b48229198a58881d5ab0cc810c6d7b66861286e437">CY_SAR2_TRIGGER_GENERIC2</a> = 4U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaba3cfba41b39cb3b447d613b48229198a500b5571b37aed9ba9fff4802aee7fb5">CY_SAR2_TRIGGER_GENERIC3</a> = 5U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaba3cfba41b39cb3b447d613b48229198a322f202ef71ef8cd7e29e8ed770fae40">CY_SAR2_TRIGGER_GENERIC4</a> = 6U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaba3cfba41b39cb3b447d613b48229198aaa8aae82d608a113a817f063b4306c29">CY_SAR2_TRIGGER_CONTINUOUS</a> = 7U
<br />
 }<tr class="memdesc:gaba3cfba41b39cb3b447d613b48229198"><td class="mdescLeft">&#160;</td><td class="mdescRight">The SAR2 trigger mode selection.  <a href="group__group__sar2__enums.html#gaba3cfba41b39cb3b447d613b48229198">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:gaba3cfba41b39cb3b447d613b48229198"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab8244721c05442758f3f1b61792e80c6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#gab8244721c05442758f3f1b61792e80c6">cy_en_sar2_preemption_type_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggab8244721c05442758f3f1b61792e80c6aae03747322c10b494320c4760dc7bb44">CY_SAR2_PREEMPTION_ABORT_CANCEL</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggab8244721c05442758f3f1b61792e80c6a6d187444ad23109216c181c65c1c990f">CY_SAR2_PREEMPTION_ABORT_RESTART</a> = 1U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggab8244721c05442758f3f1b61792e80c6adad4692d5e03374a5d77f72abe90ddc9">CY_SAR2_PREEMPTION_ABORT_RESUME</a> = 2U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggab8244721c05442758f3f1b61792e80c6a79a8c604659820c33e39bb5e877295b4">CY_SAR2_PREEMPTION_FINISH_RESUME</a> = 3U
<br />
 }<tr class="memdesc:gab8244721c05442758f3f1b61792e80c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The SAR2 ADC preemption type selection.  <a href="group__group__sar2__enums.html#gab8244721c05442758f3f1b61792e80c6">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:gab8244721c05442758f3f1b61792e80c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga58c18b78c56fdbb823714b7ad28b3b59"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#ga58c18b78c56fdbb823714b7ad28b3b59">cy_en_sar2_done_level_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga58c18b78c56fdbb823714b7ad28b3b59ac9f7fe7c5b3cbc1d263bf6ae7446df48">CY_SAR2_DONE_LEVEL_PULSE</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga58c18b78c56fdbb823714b7ad28b3b59a73f7a17cc79eb6230d3ca27da06b4817">CY_SAR2_DONE_LEVEL_LEVEL</a> = 1U
<br />
 }<tr class="memdesc:ga58c18b78c56fdbb823714b7ad28b3b59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conversion done, trigger output selection.  <a href="group__group__sar2__enums.html#ga58c18b78c56fdbb823714b7ad28b3b59">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga58c18b78c56fdbb823714b7ad28b3b59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaff7c2edefeb5747dbe17f065a27973e3"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#gaff7c2edefeb5747dbe17f065a27973e3">cy_en_sar2_pin_address_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaff7c2edefeb5747dbe17f065a27973e3a90d178dfcd8a5270e05ad892f92f0a4e">CY_SAR2_PIN_ADDRESS_AN0</a> = 0U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN1</b> = 1U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN2</b> = 2U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN3</b> = 3U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN4</b> = 4U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN5</b> = 5U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN6</b> = 6U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN7</b> = 7U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN8</b> = 8U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN9</b> = 9U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN10</b> = 10U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN11</b> = 11U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN12</b> = 12U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN13</b> = 13U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN14</b> = 14U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN15</b> = 15U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN16</b> = 16U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN17</b> = 17U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN18</b> = 18U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN19</b> = 19U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN20</b> = 20U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN21</b> = 21U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN22</b> = 22U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN23</b> = 23U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN24</b> = 24U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN25</b> = 25U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN26</b> = 26U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN27</b> = 27U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN28</b> = 28U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN29</b> = 29U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN30</b> = 30U, 
<br />
&#160;&#160;<b>CY_SAR2_PIN_ADDRESS_AN31</b> = 31U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaff7c2edefeb5747dbe17f065a27973e3a3158b299476d56913c9a0953756cde4f">CY_SAR2_PIN_ADDRESS_VMOTOR</a> = 32U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaff7c2edefeb5747dbe17f065a27973e3adbb5828d028c296a9e6628f3e7eb6c66">CY_SAR2_PIN_ADDRESS_VAUX</a> = 33U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaff7c2edefeb5747dbe17f065a27973e3a17d63a04a847759aab95c1837ec495f7">CY_SAR2_PIN_ADDRESS_AMUXBUS_A</a> = 34U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaff7c2edefeb5747dbe17f065a27973e3a5116e184b08df7c9d5c26d9e772a40b0">CY_SAR2_PIN_ADDRESS_AMUXBUS_B</a> = 35U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaff7c2edefeb5747dbe17f065a27973e3ac9a6e2eb01579fa6fb91cce6fe9eb558">CY_SAR2_PIN_ADDRESS_VCCD</a> = 36U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaff7c2edefeb5747dbe17f065a27973e3aafc25811bf167057b551d72738c79151">CY_SAR2_PIN_ADDRESS_VDDA</a> = 37U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaff7c2edefeb5747dbe17f065a27973e3aef10dbb2bf2c678eab0f823c874f2054">CY_SAR2_PIN_ADDRESS_VBG</a> = 38U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaff7c2edefeb5747dbe17f065a27973e3ac7031bcefc8bd3752f19f965a813059a">CY_SAR2_PIN_ADDRESS_VTEMP</a> = 39U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaff7c2edefeb5747dbe17f065a27973e3aec795970dff99c902d05a01b9ee043df">CY_SAR2_PIN_ADDRESS_VREF_L</a> = 62U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaff7c2edefeb5747dbe17f065a27973e3a57ebc372e9b9b6d42a8523339029cf20">CY_SAR2_PIN_ADDRESS_VREF_H</a> = 63U
<br />
 }<tr class="memdesc:gaff7c2edefeb5747dbe17f065a27973e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The address of the analog signal (pin) to be sampled by a corresponding channel.  <a href="group__group__sar2__enums.html#gaff7c2edefeb5747dbe17f065a27973e3">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:gaff7c2edefeb5747dbe17f065a27973e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadfcc89e9de3212bd0eb47a9bc4d18e8f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#gadfcc89e9de3212bd0eb47a9bc4d18e8f">cy_en_sar2_port_address_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggadfcc89e9de3212bd0eb47a9bc4d18e8faefebb4cc5690437cf08d1b143da41aa5">CY_SAR2_PORT_ADDRESS_SARMUX0</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggadfcc89e9de3212bd0eb47a9bc4d18e8fa9d3564e15b995771e7a90d2ba6bdb7f6">CY_SAR2_PORT_ADDRESS_SARMUX1</a> = 1U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggadfcc89e9de3212bd0eb47a9bc4d18e8fa0caf05f76b284f0b655d500a9a7d763e">CY_SAR2_PORT_ADDRESS_SARMUX2</a> = 2U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggadfcc89e9de3212bd0eb47a9bc4d18e8fa463542f1b809430b774ff42f433c5189">CY_SAR2_PORT_ADDRESS_SARMUX3</a> = 3U
<br />
 }<tr class="memdesc:gadfcc89e9de3212bd0eb47a9bc4d18e8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The physical port.  <a href="group__group__sar2__enums.html#gadfcc89e9de3212bd0eb47a9bc4d18e8f">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:gadfcc89e9de3212bd0eb47a9bc4d18e8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga75f6f289e993b67ada3222e4394c378b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#ga75f6f289e993b67ada3222e4394c378b">cy_en_sar2_precondition_mode_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga75f6f289e993b67ada3222e4394c378ba4336c541eae52db68665714ea09d1999">CY_SAR2_PRECONDITION_MODE_OFF</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga75f6f289e993b67ada3222e4394c378ba688525a24c939052f5f15d2e18d3e95b">CY_SAR2_PRECONDITION_MODE_VREFL</a> = 1U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga75f6f289e993b67ada3222e4394c378ba812297a4650d1517f41854ec92fc8a37">CY_SAR2_PRECONDITION_MODE_VREFH</a> = 2U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga75f6f289e993b67ada3222e4394c378bae2e258fb1cd2c537136985c36086cecb">CY_SAR2_PRECONDITION_MODE_DIAG</a> = 3U
<br />
 }<tr class="memdesc:ga75f6f289e993b67ada3222e4394c378b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Preconditioning mode selection.  <a href="group__group__sar2__enums.html#ga75f6f289e993b67ada3222e4394c378b">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga75f6f289e993b67ada3222e4394c378b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga481e014914f83c1d91387b4adb96fa07"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#ga481e014914f83c1d91387b4adb96fa07">cy_en_sar2_overlap_diag_mode_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga481e014914f83c1d91387b4adb96fa07ad80b5136f3dfbf9340edb28dbd1ad2d3">CY_SAR2_OVERLAP_DIAG_MODE_OFF</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga481e014914f83c1d91387b4adb96fa07a4ad8a44326d9135b2159eaee20ed1351">CY_SAR2_OVERLAP_DIAG_MODE_HALF</a> = 1U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga481e014914f83c1d91387b4adb96fa07a2ba263ef84612d49454dcb03c094fcc4">CY_SAR2_OVERLAP_DIAG_MODE_FULL</a> = 2U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga481e014914f83c1d91387b4adb96fa07a7a2516d7f973bd36fefae5646f7cf6ff">CY_SAR2_OVERLAP_DIAG_MODE_MUX_DIAG</a> = 3U
<br />
 }<tr class="memdesc:ga481e014914f83c1d91387b4adb96fa07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overlap mode or SARMUX Diagnostics selection, in both cases only used when the Diagnostic reference is used.  <a href="group__group__sar2__enums.html#ga481e014914f83c1d91387b4adb96fa07">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga481e014914f83c1d91387b4adb96fa07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e18ece2315322338730e4430758a9b3"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#ga6e18ece2315322338730e4430758a9b3">cy_en_sar2_calibration_value_select_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6e18ece2315322338730e4430758a9b3a8deea54b5beae8fface1fce1e7de610e">CY_SAR2_CALIBRATION_VALUE_REGULAR</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga6e18ece2315322338730e4430758a9b3a238b05db618a0c1b920c198e32cbcfc9">CY_SAR2_CALIBRATION_VALUE_ALTERNATE</a> = 1U
<br />
 }<tr class="memdesc:ga6e18ece2315322338730e4430758a9b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calibration values selection.  <a href="group__group__sar2__enums.html#ga6e18ece2315322338730e4430758a9b3">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga6e18ece2315322338730e4430758a9b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecf"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#gaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecf">cy_en_sar2_post_processing_mode_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecfa3b0a64bbb1dd1aeeaaaaf3157c1c8eaa">CY_SAR2_POST_PROCESSING_MODE_NONE</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecfa78dd7ef7515387522d760075a71aab03">CY_SAR2_POST_PROCESSING_MODE_AVG</a> = 1U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecfa762b5e1f6dd08cc8b44054c8b492ce03">CY_SAR2_POST_PROCESSING_MODE_AVG_RANGE</a> = 2U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecfaa3e94336b340cbd0bee9ec0243dd3475">CY_SAR2_POST_PROCESSING_MODE_RANGE</a> = 3U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecface234d0303aa928220903839f22a024f">CY_SAR2_POST_PROCESSING_MODE_RANGE_PULSE</a> = 4U
<br />
 }<tr class="memdesc:gaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Post processing mode selection.  <a href="group__group__sar2__enums.html#gaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecf">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:gaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga063234382f49c6003504631cdcc2c098"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#ga063234382f49c6003504631cdcc2c098">cy_en_sar2_result_alignment_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga063234382f49c6003504631cdcc2c098a83feb25c8aedebb31abc5da43b6617ff">CY_SAR2_RESULT_ALIGNMENT_RIGHT</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga063234382f49c6003504631cdcc2c098a9df4a229620b11ea9ad557cf4be213e0">CY_SAR2_RESULT_ALIGNMENT_LEFT</a> = 1U
<br />
 }<tr class="memdesc:ga063234382f49c6003504631cdcc2c098"><td class="mdescLeft">&#160;</td><td class="mdescRight">Result data alignment selection.  <a href="group__group__sar2__enums.html#ga063234382f49c6003504631cdcc2c098">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga063234382f49c6003504631cdcc2c098"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab710a08c4f378212fccc7ef2388cd1fc"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#gab710a08c4f378212fccc7ef2388cd1fc">cy_en_sar2_sign_extention_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggab710a08c4f378212fccc7ef2388cd1fca39542cbc68a10be6ada97b4b7db52b30">CY_SAR2_SIGN_EXTENTION_UNSIGNED</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggab710a08c4f378212fccc7ef2388cd1fcaefb27671feb3b0dbecc5fa3e566b061d">CY_SAR2_SIGN_EXTENTION_SIGNED</a> = 1U
<br />
 }<tr class="memdesc:gab710a08c4f378212fccc7ef2388cd1fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select whether result data is signed or unsigned.  <a href="group__group__sar2__enums.html#gab710a08c4f378212fccc7ef2388cd1fc">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:gab710a08c4f378212fccc7ef2388cd1fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga835a6d564cab91f15a6cd1598b4fa792"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#ga835a6d564cab91f15a6cd1598b4fa792">cy_en_sar2_range_detection_mode_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga835a6d564cab91f15a6cd1598b4fa792a4ebd30a8da8b304cd565dd10ddfdd567">CY_SAR2_RANGE_DETECTION_MODE_BELOW_LO</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga835a6d564cab91f15a6cd1598b4fa792aee34dab51e8d0b5114ee6a09db965a5c">CY_SAR2_RANGE_DETECTION_MODE_INSIDE_RANGE</a> = 1U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga835a6d564cab91f15a6cd1598b4fa792a7b78d4d8f357bfe2f09bb1726280fc08">CY_SAR2_RANGE_DETECTION_MODE_ABOVE_HI</a> = 2U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga835a6d564cab91f15a6cd1598b4fa792a57141417f45b69ead985d3ca005f1d74">CY_SAR2_RANGE_DETECTION_MODE_OUTSIDE_RANGE</a> = 3U
<br />
 }<tr class="memdesc:ga835a6d564cab91f15a6cd1598b4fa792"><td class="mdescLeft">&#160;</td><td class="mdescRight">Range detection mode selection.  <a href="group__group__sar2__enums.html#ga835a6d564cab91f15a6cd1598b4fa792">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga835a6d564cab91f15a6cd1598b4fa792"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae8a43f44bb634ee8c9d66a06e7b23a07"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#gae8a43f44bb634ee8c9d66a06e7b23a07">cy_en_sar2_ref_buf_mode_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggae8a43f44bb634ee8c9d66a06e7b23a07ade99b41a4b4e4d57098de9cdce71985a">CY_SAR2_REF_BUF_MODE_OFF</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggae8a43f44bb634ee8c9d66a06e7b23a07af5e9cc0fc5bea961979bf5713eb715a8">CY_SAR2_REF_BUF_MODE_ON</a> = 1U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#ggae8a43f44bb634ee8c9d66a06e7b23a07ae8cc6a8629077914a593697bfac5eede">CY_SAR2_REF_BUF_MODE_BYPASS</a> = 3U
<br />
 }<tr class="memdesc:gae8a43f44bb634ee8c9d66a06e7b23a07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference buffer mode selection.  <a href="group__group__sar2__enums.html#gae8a43f44bb634ee8c9d66a06e7b23a07">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:gae8a43f44bb634ee8c9d66a06e7b23a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0b86fdbdcc9cf30993bd15a5e8bdb83b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sar2__enums.html#ga0b86fdbdcc9cf30993bd15a5e8bdb83b">cy_en_sar2_vdda_range_t</a> { <br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga0b86fdbdcc9cf30993bd15a5e8bdb83baa44f86b0d697106946e818c4c88e17f8">CY_SAR2_VDDA_2_7V_TO_4_5V</a> = 0U, 
<br />
&#160;&#160;<a class="el" href="group__group__sar2__enums.html#gga0b86fdbdcc9cf30993bd15a5e8bdb83baf72ca761ff7511727b67f818787504cc">CY_SAR2_VDDA_4_5V_TO_5_5V</a> = 1U
<br />
 }<tr class="memdesc:ga0b86fdbdcc9cf30993bd15a5e8bdb83b"><td class="mdescLeft">&#160;</td><td class="mdescRight">VDDA voltage range selection.  <a href="group__group__sar2__enums.html#ga0b86fdbdcc9cf30993bd15a5e8bdb83b">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga0b86fdbdcc9cf30993bd15a5e8bdb83b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="gaea937df154cbde01e73658b1a7828591"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaea937df154cbde01e73658b1a7828591">&#9670;&nbsp;</a></span>cy_en_sar2_status_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#gaea937df154cbde01e73658b1a7828591">cy_en_sar2_status_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SAR2 Driver error codes. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaea937df154cbde01e73658b1a7828591a68296d9f68ef6368b975c3f1505eae9c"></a>CY_SAR2_SUCCESS&#160;</td><td class="fielddoc"><p>Returned successful. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaea937df154cbde01e73658b1a7828591a3ba83e7ed872e9909204327fc8e53f33"></a>CY_SAR2_BAD_PARAM&#160;</td><td class="fielddoc"><p>A bad parameter was passed. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga56d872802c3c10aac99fb5f19856b8b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga56d872802c3c10aac99fb5f19856b8b2">&#9670;&nbsp;</a></span>cy_en_sar2_msb_stretch_mode_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#ga56d872802c3c10aac99fb5f19856b8b2">cy_en_sar2_msb_stretch_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>When set uses 2 cycles for the Most Significant Bit (MSB). </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga56d872802c3c10aac99fb5f19856b8b2abc29a0eadcb1f3ccdffa6c6994539510"></a>CY_SAR2_MSB_STRETCH_MODE_1CYCLE&#160;</td><td class="fielddoc"><p>Use 1 clock cycles per conversion. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga56d872802c3c10aac99fb5f19856b8b2a168a5f3ddf1973783a223d868e822d27"></a>CY_SAR2_MSB_STRETCH_MODE_2CYCLE&#160;</td><td class="fielddoc"><p>Use 2 clock cycles per conversion. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga6affc98cca1b6a89e571f7030ce0c010"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6affc98cca1b6a89e571f7030ce0c010">&#9670;&nbsp;</a></span>cy_en_sar2_diag_reference_select_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#ga6affc98cca1b6a89e571f7030ce0c010">cy_en_sar2_diag_reference_select_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The Diagnostic Reference function selection. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a00f043c0e65f1a93580d7df5e0032b03"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VREFL&#160;</td><td class="fielddoc"><p>DiagOut = VrefL. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a0a9a893fd9e38321f58486ec1123ca0f"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_1DIV8&#160;</td><td class="fielddoc"><p>DiagOut = VrefH * 1/8. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a438625429dd00e0c5cda640ea0e5c991"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_2DIV8&#160;</td><td class="fielddoc"><p>DiagOut = VrefH * 2/8. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a17f12c833868d4435540c2980bd5e222"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_3DIV8&#160;</td><td class="fielddoc"><p>DiagOut = VrefH * 3/8. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a73e20f3afcd32636f6a263fa65a35071"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_4DIV8&#160;</td><td class="fielddoc"><p>DiagOut = VrefH * 4/8. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a2e64f56dbdb263639011c48b6e375f71"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_5DIV8&#160;</td><td class="fielddoc"><p>DiagOut = VrefH * 5/8. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a203f7bcb79ddc19c5fffc3574d933877"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_6DIV8&#160;</td><td class="fielddoc"><p>DiagOut = VrefH * 6/8. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a1d1007cc240092fb62d27077e16cb302"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VREFH_7DIV8&#160;</td><td class="fielddoc"><p>DiagOut = VrefH * 7/8. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a2f4c486fccfbc8f4bcb9ff1a38549ace"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VREFH&#160;</td><td class="fielddoc"><p>DiagOut = VrefH. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a94b058cf2d37648771be8796f6976de3"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VREFX&#160;</td><td class="fielddoc"><p>DiagOut = VrefX = VrefH * 199/200. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a0213d5208128a4e7719cf044b2603135"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VBG&#160;</td><td class="fielddoc"><p>DiagOut = Vbg from SRSS. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a4fe92629aa83bcda8761eba133178664"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VIN1&#160;</td><td class="fielddoc"><p>DiagOut = Vin1. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a33a6e5c8bb89f3d89385e75a7306bd2d"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VIN2&#160;</td><td class="fielddoc"><p>DiagOut = Vin2. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a4f87c2d1d0001555d6c05c93d1af74f5"></a>CY_SAR2_DIAG_REFERENCE_SELECT_VIN3&#160;</td><td class="fielddoc"><p>DiagOut = Vin3. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010a4a48868030ede0024389ff5d64d3a633"></a>CY_SAR2_DIAG_REFERENCE_SELECT_I_SOURCE&#160;</td><td class="fielddoc"><p>DiagOut = Isource (10uA) </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6affc98cca1b6a89e571f7030ce0c010aa6e9a8cb47f7fc8bfe45c52b7252ecab"></a>CY_SAR2_DIAG_REFERENCE_SELECT_I_SINK&#160;</td><td class="fielddoc"><p>DiagOut = Isink (10uA) </p>
</td></tr>
</table>

</div>
</div>
<a id="gaba3cfba41b39cb3b447d613b48229198"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaba3cfba41b39cb3b447d613b48229198">&#9670;&nbsp;</a></span>cy_en_sar2_trigger_selection_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#gaba3cfba41b39cb3b447d613b48229198">cy_en_sar2_trigger_selection_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The SAR2 trigger mode selection. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaba3cfba41b39cb3b447d613b48229198ab102cc947b2422987beff93cd93b6e1a"></a>CY_SAR2_TRIGGER_OFF&#160;</td><td class="fielddoc"><p>Use for channels in group, except the first channel. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaba3cfba41b39cb3b447d613b48229198a6b452c004e456bf97bcbd1d0baafc634"></a>CY_SAR2_TRIGGER_TCPWM&#160;</td><td class="fielddoc"><p>Trigger from corresponding TCPWM channel. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaba3cfba41b39cb3b447d613b48229198a2d6ce533cb59961338eb62c69af74cb7"></a>CY_SAR2_TRIGGER_GENERIC0&#160;</td><td class="fielddoc"><p>Generic trigger input 0. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaba3cfba41b39cb3b447d613b48229198a4e4df31954f36c98264b89db5115b9b8"></a>CY_SAR2_TRIGGER_GENERIC1&#160;</td><td class="fielddoc"><p>Generic trigger input 1. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaba3cfba41b39cb3b447d613b48229198a58881d5ab0cc810c6d7b66861286e437"></a>CY_SAR2_TRIGGER_GENERIC2&#160;</td><td class="fielddoc"><p>Generic trigger input 2. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaba3cfba41b39cb3b447d613b48229198a500b5571b37aed9ba9fff4802aee7fb5"></a>CY_SAR2_TRIGGER_GENERIC3&#160;</td><td class="fielddoc"><p>Generic trigger input 3. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaba3cfba41b39cb3b447d613b48229198a322f202ef71ef8cd7e29e8ed770fae40"></a>CY_SAR2_TRIGGER_GENERIC4&#160;</td><td class="fielddoc"><p>Generic trigger input 4. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaba3cfba41b39cb3b447d613b48229198aaa8aae82d608a113a817f063b4306c29"></a>CY_SAR2_TRIGGER_CONTINUOUS&#160;</td><td class="fielddoc"><p>Always triggered (also called idle), can only be used for at most 1 channel. </p>
</td></tr>
</table>

</div>
</div>
<a id="gab8244721c05442758f3f1b61792e80c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab8244721c05442758f3f1b61792e80c6">&#9670;&nbsp;</a></span>cy_en_sar2_preemption_type_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#gab8244721c05442758f3f1b61792e80c6">cy_en_sar2_preemption_type_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The SAR2 ADC preemption type selection. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggab8244721c05442758f3f1b61792e80c6aae03747322c10b494320c4760dc7bb44"></a>CY_SAR2_PREEMPTION_ABORT_CANCEL&#160;</td><td class="fielddoc"><p>Abort the ongoing acquisition, does not return. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab8244721c05442758f3f1b61792e80c6a6d187444ad23109216c181c65c1c990f"></a>CY_SAR2_PREEMPTION_ABORT_RESTART&#160;</td><td class="fielddoc"><p>Abort ongoing acquisition, up on return Restart group from the first channel. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab8244721c05442758f3f1b61792e80c6adad4692d5e03374a5d77f72abe90ddc9"></a>CY_SAR2_PREEMPTION_ABORT_RESUME&#160;</td><td class="fielddoc"><p>Abort the ongoing acquisition, up on return Resume group from the aborted channel. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab8244721c05442758f3f1b61792e80c6a79a8c604659820c33e39bb5e877295b4"></a>CY_SAR2_PREEMPTION_FINISH_RESUME&#160;</td><td class="fielddoc"><p>Completed ongoing acquisition (including averaging), up on return Resume group from the next channel. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga58c18b78c56fdbb823714b7ad28b3b59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga58c18b78c56fdbb823714b7ad28b3b59">&#9670;&nbsp;</a></span>cy_en_sar2_done_level_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#ga58c18b78c56fdbb823714b7ad28b3b59">cy_en_sar2_done_level_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Conversion done, trigger output selection. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga58c18b78c56fdbb823714b7ad28b3b59ac9f7fe7c5b3cbc1d263bf6ae7446df48"></a>CY_SAR2_DONE_LEVEL_PULSE&#160;</td><td class="fielddoc"><p>The conversion done signal for other IPs is a 2-cycle pulse (clk_sys), no need to read the result register. </p>
<p>Typically used for triggering another IPs other than DW. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga58c18b78c56fdbb823714b7ad28b3b59a73f7a17cc79eb6230d3ca27da06b4817"></a>CY_SAR2_DONE_LEVEL_LEVEL&#160;</td><td class="fielddoc"><p>The conversion done signal for other IPs is the level output until the result register is read. </p>
<p>Typically used for DW and also overflowed? detection. </p>
</td></tr>
</table>

</div>
</div>
<a id="gaff7c2edefeb5747dbe17f065a27973e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaff7c2edefeb5747dbe17f065a27973e3">&#9670;&nbsp;</a></span>cy_en_sar2_pin_address_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#gaff7c2edefeb5747dbe17f065a27973e3">cy_en_sar2_pin_address_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The address of the analog signal (pin) to be sampled by a corresponding channel. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaff7c2edefeb5747dbe17f065a27973e3a90d178dfcd8a5270e05ad892f92f0a4e"></a>CY_SAR2_PIN_ADDRESS_AN0&#160;</td><td class="fielddoc"><p>Vout = AN0, select the corresponding analog input. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaff7c2edefeb5747dbe17f065a27973e3a3158b299476d56913c9a0953756cde4f"></a>CY_SAR2_PIN_ADDRESS_VMOTOR&#160;</td><td class="fielddoc"><p>Vout = Vmotor, select the motor input. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaff7c2edefeb5747dbe17f065a27973e3adbb5828d028c296a9e6628f3e7eb6c66"></a>CY_SAR2_PIN_ADDRESS_VAUX&#160;</td><td class="fielddoc"><p>Vout = Vaux, select the auxiliarly input. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaff7c2edefeb5747dbe17f065a27973e3a17d63a04a847759aab95c1837ec495f7"></a>CY_SAR2_PIN_ADDRESS_AMUXBUS_A&#160;</td><td class="fielddoc"><p>Vout = AmuxbusA. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaff7c2edefeb5747dbe17f065a27973e3a5116e184b08df7c9d5c26d9e772a40b0"></a>CY_SAR2_PIN_ADDRESS_AMUXBUS_B&#160;</td><td class="fielddoc"><p>Vout = AmuxbusB. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaff7c2edefeb5747dbe17f065a27973e3ac9a6e2eb01579fa6fb91cce6fe9eb558"></a>CY_SAR2_PIN_ADDRESS_VCCD&#160;</td><td class="fielddoc"><p>Vout = Vccd. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaff7c2edefeb5747dbe17f065a27973e3aafc25811bf167057b551d72738c79151"></a>CY_SAR2_PIN_ADDRESS_VDDA&#160;</td><td class="fielddoc"><p>Vout = Vdda. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaff7c2edefeb5747dbe17f065a27973e3aef10dbb2bf2c678eab0f823c874f2054"></a>CY_SAR2_PIN_ADDRESS_VBG&#160;</td><td class="fielddoc"><p>Vout = Vbg, Bandgap voltage from SRSS. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaff7c2edefeb5747dbe17f065a27973e3ac7031bcefc8bd3752f19f965a813059a"></a>CY_SAR2_PIN_ADDRESS_VTEMP&#160;</td><td class="fielddoc"><p>Vout = Vtemp, select the temperature sensor. </p>
<p>Ensure that only 1 ADC is allowed to use this. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaff7c2edefeb5747dbe17f065a27973e3aec795970dff99c902d05a01b9ee043df"></a>CY_SAR2_PIN_ADDRESS_VREF_L&#160;</td><td class="fielddoc"><p>Vout = VrefL (VrefL actually bypasses the SARMUX (XSL)). </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaff7c2edefeb5747dbe17f065a27973e3a57ebc372e9b9b6d42a8523339029cf20"></a>CY_SAR2_PIN_ADDRESS_VREF_H&#160;</td><td class="fielddoc"><p>Vout = VrefH (VrefH actually bypasses the SARMUX (XSH)) </p>
</td></tr>
</table>

</div>
</div>
<a id="gadfcc89e9de3212bd0eb47a9bc4d18e8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadfcc89e9de3212bd0eb47a9bc4d18e8f">&#9670;&nbsp;</a></span>cy_en_sar2_port_address_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#gadfcc89e9de3212bd0eb47a9bc4d18e8f">cy_en_sar2_port_address_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The physical port. </p>
<p>This field is only valid for the SAR2 ADC0 block. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggadfcc89e9de3212bd0eb47a9bc4d18e8faefebb4cc5690437cf08d1b143da41aa5"></a>CY_SAR2_PORT_ADDRESS_SARMUX0&#160;</td><td class="fielddoc"><p>ADC uses its own SARMUX. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggadfcc89e9de3212bd0eb47a9bc4d18e8fa9d3564e15b995771e7a90d2ba6bdb7f6"></a>CY_SAR2_PORT_ADDRESS_SARMUX1&#160;</td><td class="fielddoc"><p>ADC0 uses SARMUX1 (only valid for ADC0, undefined result if used for ADC1-3). </p>
</td></tr>
<tr><td class="fieldname"><a id="ggadfcc89e9de3212bd0eb47a9bc4d18e8fa0caf05f76b284f0b655d500a9a7d763e"></a>CY_SAR2_PORT_ADDRESS_SARMUX2&#160;</td><td class="fielddoc"><p>ADC0 uses SARMUX2 (only valid for ADC0, undefined result if used for ADC1-3). </p>
</td></tr>
<tr><td class="fieldname"><a id="ggadfcc89e9de3212bd0eb47a9bc4d18e8fa463542f1b809430b774ff42f433c5189"></a>CY_SAR2_PORT_ADDRESS_SARMUX3&#160;</td><td class="fielddoc"><p>ADC0 uses SARMUX3 (only valid for ADC0, undefined result if used for ADC1-3). </p>
</td></tr>
</table>

</div>
</div>
<a id="ga75f6f289e993b67ada3222e4394c378b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga75f6f289e993b67ada3222e4394c378b">&#9670;&nbsp;</a></span>cy_en_sar2_precondition_mode_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#ga75f6f289e993b67ada3222e4394c378b">cy_en_sar2_precondition_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Preconditioning mode selection. </p>
<p>Preconditioning charges or discharges the SAR sample capacitor to the selected reference voltage for precondition time (global) cycles, a break before a make cycle will be inserted before sampling starts the sample time. See also <a class="el" href="structcy__stc__sar2__config__t.html">cy_stc_sar2_config_t</a> </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga75f6f289e993b67ada3222e4394c378ba4336c541eae52db68665714ea09d1999"></a>CY_SAR2_PRECONDITION_MODE_OFF&#160;</td><td class="fielddoc"><p>No preconditioning. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75f6f289e993b67ada3222e4394c378ba688525a24c939052f5f15d2e18d3e95b"></a>CY_SAR2_PRECONDITION_MODE_VREFL&#160;</td><td class="fielddoc"><p>Discharge to VREFL. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75f6f289e993b67ada3222e4394c378ba812297a4650d1517f41854ec92fc8a37"></a>CY_SAR2_PRECONDITION_MODE_VREFH&#160;</td><td class="fielddoc"><p>Charge to VREFH. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga75f6f289e993b67ada3222e4394c378bae2e258fb1cd2c537136985c36086cecb"></a>CY_SAR2_PRECONDITION_MODE_DIAG&#160;</td><td class="fielddoc"><p>Connect the Diagnostic reference output during preconditioning. </p>
<p>Configure the Diagnostic reference to output the reference voltage. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga481e014914f83c1d91387b4adb96fa07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga481e014914f83c1d91387b4adb96fa07">&#9670;&nbsp;</a></span>cy_en_sar2_overlap_diag_mode_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#ga481e014914f83c1d91387b4adb96fa07">cy_en_sar2_overlap_diag_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Overlap mode or SARMUX Diagnostics selection, in both cases only used when the Diagnostic reference is used. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga481e014914f83c1d91387b4adb96fa07ad80b5136f3dfbf9340edb28dbd1ad2d3"></a>CY_SAR2_OVERLAP_DIAG_MODE_OFF&#160;</td><td class="fielddoc"><p>No overlap or SARMUX Diagnostics. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga481e014914f83c1d91387b4adb96fa07a4ad8a44326d9135b2159eaee20ed1351"></a>CY_SAR2_OVERLAP_DIAG_MODE_HALF&#160;</td><td class="fielddoc"><p>Sample the selected analog input for 2 sample time periods. </p>
<p>During the first period, use the overlap sampling, i.e. connect both the analog input and Diagnostic reference. During the second period only connect the analog input </p>
</td></tr>
<tr><td class="fieldname"><a id="gga481e014914f83c1d91387b4adb96fa07a2ba263ef84612d49454dcb03c094fcc4"></a>CY_SAR2_OVERLAP_DIAG_MODE_FULL&#160;</td><td class="fielddoc"><p>The selected analog input for a single sample time period is like a normal sample but use the overlap sampling, i.e. </p>
<p>connect both the analog input and Diagnostic reference. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga481e014914f83c1d91387b4adb96fa07a7a2516d7f973bd36fefae5646f7cf6ff"></a>CY_SAR2_OVERLAP_DIAG_MODE_MUX_DIAG&#160;</td><td class="fielddoc"><p>Select Diagnostic reference instead of analog signal at the input of the SARMUX. </p>
<p>This enables a functional safety check of the SARMUX analog connections. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga6e18ece2315322338730e4430758a9b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6e18ece2315322338730e4430758a9b3">&#9670;&nbsp;</a></span>cy_en_sar2_calibration_value_select_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#ga6e18ece2315322338730e4430758a9b3">cy_en_sar2_calibration_value_select_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calibration values selection. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga6e18ece2315322338730e4430758a9b3a8deea54b5beae8fface1fce1e7de610e"></a>CY_SAR2_CALIBRATION_VALUE_REGULAR&#160;</td><td class="fielddoc"><p>Use regular calibration values. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga6e18ece2315322338730e4430758a9b3a238b05db618a0c1b920c198e32cbcfc9"></a>CY_SAR2_CALIBRATION_VALUE_ALTERNATE&#160;</td><td class="fielddoc"><p>Use alternate calibration values. </p>
</td></tr>
</table>

</div>
</div>
<a id="gaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecf">&#9670;&nbsp;</a></span>cy_en_sar2_post_processing_mode_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#gaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecf">cy_en_sar2_post_processing_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Post processing mode selection. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecfa3b0a64bbb1dd1aeeaaaaf3157c1c8eaa"></a>CY_SAR2_POST_PROCESSING_MODE_NONE&#160;</td><td class="fielddoc"><p>No post processing. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecfa78dd7ef7515387522d760075a71aab03"></a>CY_SAR2_POST_PROCESSING_MODE_AVG&#160;</td><td class="fielddoc"><p>Averaging. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecfa762b5e1f6dd08cc8b44054c8b492ce03"></a>CY_SAR2_POST_PROCESSING_MODE_AVG_RANGE&#160;</td><td class="fielddoc"><p>Averaging followed by Range detect. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecfaa3e94336b340cbd0bee9ec0243dd3475"></a>CY_SAR2_POST_PROCESSING_MODE_RANGE&#160;</td><td class="fielddoc"><p>Range detect. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaeb91f0e98ffd0ccf1fbc9ac4ee4d2ecface234d0303aa928220903839f22a024f"></a>CY_SAR2_POST_PROCESSING_MODE_RANGE_PULSE&#160;</td><td class="fielddoc"><p>Range detect followed by pulse detect. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga063234382f49c6003504631cdcc2c098"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga063234382f49c6003504631cdcc2c098">&#9670;&nbsp;</a></span>cy_en_sar2_result_alignment_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#ga063234382f49c6003504631cdcc2c098">cy_en_sar2_result_alignment_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Result data alignment selection. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga063234382f49c6003504631cdcc2c098a83feb25c8aedebb31abc5da43b6617ff"></a>CY_SAR2_RESULT_ALIGNMENT_RIGHT&#160;</td><td class="fielddoc"><p>The data is right aligned in result[11:0], with sign extension to 16 bits if enabled. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga063234382f49c6003504631cdcc2c098a9df4a229620b11ea9ad557cf4be213e0"></a>CY_SAR2_RESULT_ALIGNMENT_LEFT&#160;</td><td class="fielddoc"><p>The data shifts left in result[15:4] with the lower nibble 0. </p>
<p>Caveat if the result is more than 12 bits (e.g. after averaging), then the bits above 12 will be discarded. </p>
</td></tr>
</table>

</div>
</div>
<a id="gab710a08c4f378212fccc7ef2388cd1fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab710a08c4f378212fccc7ef2388cd1fc">&#9670;&nbsp;</a></span>cy_en_sar2_sign_extention_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#gab710a08c4f378212fccc7ef2388cd1fc">cy_en_sar2_sign_extention_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Select whether result data is signed or unsigned. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggab710a08c4f378212fccc7ef2388cd1fca39542cbc68a10be6ada97b4b7db52b30"></a>CY_SAR2_SIGN_EXTENTION_UNSIGNED&#160;</td><td class="fielddoc"><p>Result data is unsigned (zero-extended if needed). </p>
</td></tr>
<tr><td class="fieldname"><a id="ggab710a08c4f378212fccc7ef2388cd1fcaefb27671feb3b0dbecc5fa3e566b061d"></a>CY_SAR2_SIGN_EXTENTION_SIGNED&#160;</td><td class="fielddoc"><p>Result data is signed (sign-extended if needed). </p>
</td></tr>
</table>

</div>
</div>
<a id="ga835a6d564cab91f15a6cd1598b4fa792"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga835a6d564cab91f15a6cd1598b4fa792">&#9670;&nbsp;</a></span>cy_en_sar2_range_detection_mode_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#ga835a6d564cab91f15a6cd1598b4fa792">cy_en_sar2_range_detection_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Range detection mode selection. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga835a6d564cab91f15a6cd1598b4fa792a4ebd30a8da8b304cd565dd10ddfdd567"></a>CY_SAR2_RANGE_DETECTION_MODE_BELOW_LO&#160;</td><td class="fielddoc"><p>Below Low threshold (result &lt; Lo) </p>
</td></tr>
<tr><td class="fieldname"><a id="gga835a6d564cab91f15a6cd1598b4fa792aee34dab51e8d0b5114ee6a09db965a5c"></a>CY_SAR2_RANGE_DETECTION_MODE_INSIDE_RANGE&#160;</td><td class="fielddoc"><p>Inside range (Lo &lt;= result &lt; Hi) </p>
</td></tr>
<tr><td class="fieldname"><a id="gga835a6d564cab91f15a6cd1598b4fa792a7b78d4d8f357bfe2f09bb1726280fc08"></a>CY_SAR2_RANGE_DETECTION_MODE_ABOVE_HI&#160;</td><td class="fielddoc"><p>Above high threshold (Hi &lt;= result) </p>
</td></tr>
<tr><td class="fieldname"><a id="gga835a6d564cab91f15a6cd1598b4fa792a57141417f45b69ead985d3ca005f1d74"></a>CY_SAR2_RANGE_DETECTION_MODE_OUTSIDE_RANGE&#160;</td><td class="fielddoc"><p>Outside range (result &lt; Lo || Hi &lt;= result) </p>
</td></tr>
</table>

</div>
</div>
<a id="gae8a43f44bb634ee8c9d66a06e7b23a07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae8a43f44bb634ee8c9d66a06e7b23a07">&#9670;&nbsp;</a></span>cy_en_sar2_ref_buf_mode_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#gae8a43f44bb634ee8c9d66a06e7b23a07">cy_en_sar2_ref_buf_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reference buffer mode selection. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggae8a43f44bb634ee8c9d66a06e7b23a07ade99b41a4b4e4d57098de9cdce71985a"></a>CY_SAR2_REF_BUF_MODE_OFF&#160;</td><td class="fielddoc"><p>No reference mode selected. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae8a43f44bb634ee8c9d66a06e7b23a07af5e9cc0fc5bea961979bf5713eb715a8"></a>CY_SAR2_REF_BUF_MODE_ON&#160;</td><td class="fielddoc"><p>Reference buffered Vbg from SRSS. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggae8a43f44bb634ee8c9d66a06e7b23a07ae8cc6a8629077914a593697bfac5eede"></a>CY_SAR2_REF_BUF_MODE_BYPASS&#160;</td><td class="fielddoc"><p>Reference unbuffered Vbg from SRSS. </p>
</td></tr>
</table>

</div>
</div>
<a id="ga0b86fdbdcc9cf30993bd15a5e8bdb83b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0b86fdbdcc9cf30993bd15a5e8bdb83b">&#9670;&nbsp;</a></span>cy_en_sar2_vdda_range_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__group__sar2__enums.html#ga0b86fdbdcc9cf30993bd15a5e8bdb83b">cy_en_sar2_vdda_range_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>VDDA voltage range selection. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga0b86fdbdcc9cf30993bd15a5e8bdb83baa44f86b0d697106946e818c4c88e17f8"></a>CY_SAR2_VDDA_2_7V_TO_4_5V&#160;</td><td class="fielddoc"><p>The Vdda is in range from 2.7 to 4.5 V. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga0b86fdbdcc9cf30993bd15a5e8bdb83baf72ca761ff7511727b67f818787504cc"></a>CY_SAR2_VDDA_4_5V_TO_5_5V&#160;</td><td class="fielddoc"><p>The Vdda is in range from 4.5 to 5.5 V. </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
